package com.xinruke.hostels.systemmanage.service;

import com.xinruke.hostels.common.vo.ResultVO;
import com.xinruke.hostels.common.vo.query.RowsDataVO;
import com.xinruke.hostels.system.manage.interfaces.dto.*;

/**
 * @author yutaipu
 */
public interface WorkModeService {

    /**
     * 添加
     */
    ResultVO add(WorkModeAddDTO params);

    /**
     * 修改
     */
    ResultVO modify(WorkModeModifyDTO params);

    /**
     * 删除
     */
    ResultVO delete(WorkModeDeleteDTO params);

    /**
     * 列表查询
     */
    ResultVO<RowsDataVO<WorkModeQueryResultDTO>> list(WorkModeQueryListDTO params);

    /**
     * 详情
     */
    ResultVO<WorkModeQueryResultDTO> detail(WorkModeDetailDTO params);
}
